package com.situ.web.service;

import java.util.List;

import com.situ.web.entity.PageBean;
import com.situ.web.entity.Student;
import com.situ.web.exception.NameAlreadyExistException;

public interface IStudentService {

	boolean regist(Student student) throws NameAlreadyExistException;

	boolean delete(String id);

	List<Student> findAll();

	Student findById(int id);

	boolean updateById(Student student);

	PageBean findPageBean(int pageNo, int pageSize);

}
